package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Process;
import com.bonuo.crm.domain.Project;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessMapper {
    List<Process> selectProcessList(Process process);

    Integer insertProcess(Process process);

    Integer updateProcess(Process process);

    Integer deleteProcessById(Integer id);

    Integer selectProcessByProjectFundId(Integer id);


    Integer selectProcessByProjectFundIdAndSchedule(Process process);

    List<Process> selectWeeklyProcessList(Integer userId);
}
